<link rel="stylesheet" href="resources/weui/dist/style/weui.min.css"/>
<div style="background-color: white;min-height: 568px">
	<div class="weui_cells_title" style="margin-top: 0px;"><?php echo $title ?></div>
	<div class="weui_cells weui_cells_access" >
		<?php
		foreach ($asker_list as $item): ?>
			<div class="weui_cell">
				<div class="weui_cell_hd">
					<img src="<?php echo $item[0]['headimgurl'] ?>" alt="icon" style="width:40px;margin-right:5px;display:block"/>
				</div>
				<div class="weui_cell_bd weui_cell_primary">
					<p><?php echo $item[0]['nickname'] ?></p>
				</div>
				<div class="weui_cell_hd">
					<a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary" id="<?php echo $item[0]['id']?>">回复</a>
				</div>
			</div>
		<?php endforeach;?>
	</div>
</div>
<div id="server_id" style="display:none"><?php echo $server_id ?></div>
<script>
	$(document).ready(function() {
		var server_id=$('#server_id').html();
		$('.weui_btn_mini').click(function(){
			var id=$(this).attr('id');
			var url='index.php/contactonline/conversation/'+server_id+'/'+id+'/server';
			window.location.href=url;
		});
	});
</script>